#!/bin/bash

sum=0
i=1

while [ $i -le 100 ]
do
	sum=$[$i+$sum]
	i=$[$i+1]
done
echo "1-100和为$sum"

